package com.loan.web.page;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;

/**
 * @author FBF
 */
@Controller
@RequestMapping("/page/emp")
public class EmpControllerPage {
    /**
     * 员工退出
     * FBF
     * @param session
     * @return
     */
    @RequestMapping("loginOut")
    public String loginOut(HttpSession session){
        session.removeAttribute("account");
        return "index";
    }
}
